﻿#ifndef REQUESTMAPPER_H
#define REQUESTMAPPER_H

#include <httprequesthandler.h>
using namespace stefanfrings;


class RequestMapper : public HttpRequestHandler
{

public:
    explicit RequestMapper(QObject *parent = nullptr);
    ~RequestMapper();
    void service(HttpRequest &request, HttpResponse &response) override;

private:
    QHash<QString, HttpRequestHandler *> m_requestMap;
};

#endif // REQUESTMAPPER_H
